<!DOCTYPE html>
<html>
<head>
  <title>JMockit Coverage Report - AddCard.java</title>
  <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
  <link rel='stylesheet' type='text/css' href='../../../coverage.css'/>
  <script type='text/javascript' src='../../../coverage.js'></script>
  <script type='text/javascript' src='../../../prettify.js'></script>
</head>
<body onload='prettyPrint()'>
  <table cellpadding='0' cellspacing='1'>
    <caption>Starbucks\src\com\sb\view\AddCard.java</caption>
    <tr>
      <td class='line'>1</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>package com.sb.view;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'></td><td>&nbsp;</td>
      <td><pre class='imports prettyprint' onclick='showHideLines(this)'><div>import com.sb.controller.AppController;
import com.sb.controller.ScreenState;

import processing.core.PApplet;
import processing.core.PFont;
import processing.core.PImage;
</div><span>import ...</span></pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>10</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>public class AddCard implements ScreenState {</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>12</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	private static final long serialVersionUID = 1L;</pre></td>
    </tr>
    <tr>
      <td class='line'></td><td>&nbsp;</td>
      <td class='comment' onclick='showHideLines(this)'><div>	/***************************************
	 * SCREEN:Add Card AUTHOR:Madhumita V
	 *************************************** 
	 */</div><span>	/*...*/</span></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>18</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	AppController <span class='instance uncovered' title='Reads: 0 Writes: 0'>appController</span>;</pre></td>
    </tr>
    <tr>
      <td class='line'>19</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	KeyPad1 <span class='instance uncovered' title='Reads: 0 Writes: 0'>keys</span>;</pre></td>
    </tr>
    <tr>
      <td class='line'>20</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l20s0'>	NewCard <span class='instance uncovered' title='Reads: 0 Writes: 0'>addCard</span> = new NewCard();</pre></td>
    </tr>
    <tr>
      <td class='line'>21</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l21s0'>	PApplet <span class='instance uncovered' title='Reads: 0 Writes: 0'>applet</span> = new PApplet();</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>23</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l23s0'>	public AddCard(AppController appController) {</pre></td>
    </tr>
    <tr>
      <td class='line'>24</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l24s0'>		this.appController = appController;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>26</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l26s0'>	}</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>28</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	PImage <span class='instance uncovered' title='Reads: 0 Writes: 0'>img</span>;</pre></td>
    </tr>
    <tr>
      <td class='line'>29</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	PFont <span class='instance uncovered' title='Reads: 0 Writes: 0'>f</span>;</pre></td>
    </tr>
    <tr>
      <td class='line'>30</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	PFont <span class='instance uncovered' title='Reads: 0 Writes: 0'>f1</span>;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>32</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	@Override</pre></td>
    </tr>
    <tr>
      <td class='line'>33</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	public void setup(PApplet applet) {</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>35</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l35s0'>		keys = new KeyPad1();</pre></td>
    </tr>
    <tr>
      <td class='line'>36</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l36s0'>	    img = applet.loadImage("Addcard.jpg");</pre></td>
    </tr>
    <tr>
      <td class='line'>37</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l37s0'>		applet.size(262, 400);</pre></td>
    </tr>
    <tr>
      <td class='line'>38</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l38s0'>		applet.background(50);</pre></td>
    </tr>
    <tr>
      <td class='line'>39</td><td>&nbsp;</td>
      <td><pre class='comment'>		/* Drawing card image to screen co-ordinates */</pre></td>
    </tr>
    <tr>
      <td class='line'>40</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l40s0'>		applet.image(img, 30, 65, 200, 125);</pre></td>
    </tr>
    <tr>
      <td class='line'>41</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l41s0'>		applet.fill(176, 177, 178, 220);</pre></td>
    </tr>
    <tr>
      <td class='line'>42</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l42s0'>		applet.rect(0, 240, 265, 318);</pre></td>
    </tr>
    <tr>
      <td class='line'>43</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l43s0'>		applet.line(88, 240, 88, 399);</pre></td>
    </tr>
    <tr>
      <td class='line'>44</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l44s0'>		applet.line(174, 240, 174, 399);</pre></td>
    </tr>
    <tr>
      <td class='line'>45</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l45s0'>		applet.line(0, 240, 300, 240);</pre></td>
    </tr>
    <tr>
      <td class='line'>46</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l46s0'>		applet.line(0, 280, 300, 280);</pre></td>
    </tr>
    <tr>
      <td class='line'>47</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l47s0'>		applet.line(0, 320, 300, 320);</pre></td>
    </tr>
    <tr>
      <td class='line'>48</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l48s0'>		applet.line(0, 360, 300, 360);</pre></td>
    </tr>
    <tr>
      <td class='line'>49</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l49s0'>		applet.rect(73, 100, 152, 22, 8, 8, 8, 8);</pre></td>
    </tr>
    <tr>
      <td class='line'>50</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l50s0'>		applet.rect(111, 132, 80, 22, 8, 8, 8, 8);</pre></td>
    </tr>
    <tr>
      <td class='line'>51</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l51s0'>		f = applet.loadFont("Calibri-30.vlw");</pre></td>
    </tr>
    <tr>
      <td class='line'>52</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l52s0'>		applet.fill(27, 131, 87);</pre></td>
    </tr>
    <tr>
      <td class='line'>53</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l53s0'>		applet.rect(0, 0, 265, 47);</pre></td>
    </tr>
    <tr>
      <td class='line'>54</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l54s0'>		applet.fill(255);</pre></td>
    </tr>
    <tr>
      <td class='line'>55</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l55s0'>		applet.textFont(f, 20);</pre></td>
    </tr>
    <tr>
      <td class='line'>56</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l56s0'>		applet.text("Add Card", 88, 30);</pre></td>
    </tr>
    <tr>
      <td class='line'>57</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l57s0'>		applet.fill(21, 67, 54);</pre></td>
    </tr>
    <tr>
      <td class='line'>58</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l58s0'>		applet.rect(180, 5, 75, 31, 8, 8, 8, 8);</pre></td>
    </tr>
    <tr>
      <td class='line'>59</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l59s0'>		applet.fill(255);</pre></td>
    </tr>
    <tr>
      <td class='line'>60</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l60s0'>		applet.textFont(f, 15);</pre></td>
    </tr>
    <tr>
      <td class='line'>61</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l61s0'>		applet.text("Add", 205, 27);</pre></td>
    </tr>
    <tr>
      <td class='line'>62</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l62s0'>		applet.fill(21, 67, 54);</pre></td>
    </tr>
    <tr>
      <td class='line'>63</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l63s0'>		applet.rect(5, 5, 75, 31, 8, 8, 8, 8);</pre></td>
    </tr>
    <tr>
      <td class='line'>64</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l64s0'>		applet.fill(255);</pre></td>
    </tr>
    <tr>
      <td class='line'>65</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l65s0'>		applet.textFont(f, 15);</pre></td>
    </tr>
    <tr>
      <td class='line'>66</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l66s0'>		applet.text("Cancel", 25, 27);</pre></td>
    </tr>
    <tr>
      <td class='line'>67</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l67s0'>		keys.draw(applet);</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>69</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l69s0'>	}</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>71</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	@Override</pre></td>
    </tr>
    <tr>
      <td class='line'>72</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	public void mousePressed(PApplet applet) {</pre></td>
    </tr>
    <tr>
      <td class='line'>73</td><td>&nbsp;</td>
      <td><pre class='comment'>		// TODO Auto-generated method stub</pre></td>
    </tr>
    <tr>
      <td class='line'>74</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l74s0'>		Integer pressedNumber = null;</pre></td>
    </tr>
    <tr>
      <td class='line'>75</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l75s0'>		boolean removeDigit = false;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>77</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l77s0' title='Executions: 0' class='uncovered'>if (applet.mouseX > 5</span> && <span id='l77s1' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 80</span> && <span id='l77s2' title='Executions: 0' class='uncovered'>applet.mouseY > 5</span></pre></td>
    </tr>
    <tr>
      <td class='line'>78</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l78s1' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 36) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>79</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l79s0'>			appController.setCurrentScreen(appController.getMyCardOptions());</pre></td>
    </tr>
    <tr>
      <td class='line'>80</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>82</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l82s0' title='Executions: 0' class='uncovered'>if (applet.mouseX > 0</span> && <span id='l82s1' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 88</span> && <span id='l82s2' title='Executions: 0' class='uncovered'>applet.mouseY > 240</span></pre></td>
    </tr>
    <tr>
      <td class='line'>83</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l83s1' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 280) {</span></pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>85</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l85s0'>			pressedNumber=1;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>87</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l87s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l87s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 89</span> && <span id='l87s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 174</span></pre></td>
    </tr>
    <tr>
      <td class='line'>88</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l88s1' title='Executions: 0' class='uncovered'>applet.mouseY > 240</span> && <span id='l88s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 280) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>89</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l89s0'>			pressedNumber=2;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>91</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l91s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l91s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 175</span> && <span id='l91s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 262</span></pre></td>
    </tr>
    <tr>
      <td class='line'>92</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l92s1' title='Executions: 0' class='uncovered'>applet.mouseY > 240</span> && <span id='l92s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 280) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>93</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l93s0'>			pressedNumber=3;</pre></td>
    </tr>
    <tr>
      <td class='line'>94</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr>
      <td class='line'>95</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		else <span id='l95s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 0</span> && <span id='l95s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 88</span> && <span id='l95s3' title='Executions: 0' class='uncovered'>applet.mouseY > 281</span></pre></td>
    </tr>
    <tr>
      <td class='line'>96</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l96s1' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 320) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>97</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l97s0'>			pressedNumber=4;</pre></td>
    </tr>
    <tr>
      <td class='line'>98</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l98s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l98s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 89</span> && <span id='l98s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 174</span></pre></td>
    </tr>
    <tr>
      <td class='line'>99</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l99s1' title='Executions: 0' class='uncovered'>applet.mouseY > 281</span> && <span id='l99s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 320) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>100</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l100s0'>			pressedNumber=5;</pre></td>
    </tr>
    <tr>
      <td class='line'>101</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l101s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l101s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 175</span> && <span id='l101s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 262</span></pre></td>
    </tr>
    <tr>
      <td class='line'>102</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l102s1' title='Executions: 0' class='uncovered'>applet.mouseY > 281</span> && <span id='l102s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 320) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>103</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l103s0'>			pressedNumber=6;</pre></td>
    </tr>
    <tr>
      <td class='line'>104</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr>
      <td class='line'>105</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		else <span id='l105s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 0</span> && <span id='l105s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 88</span> && <span id='l105s3' title='Executions: 0' class='uncovered'>applet.mouseY > 321</span></pre></td>
    </tr>
    <tr>
      <td class='line'>106</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l106s1' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 360) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>107</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l107s0'>			pressedNumber=7;</pre></td>
    </tr>
    <tr>
      <td class='line'>108</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l108s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l108s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 89</span> && <span id='l108s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 174</span></pre></td>
    </tr>
    <tr>
      <td class='line'>109</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l109s1' title='Executions: 0' class='uncovered'>applet.mouseY > 321</span> && <span id='l109s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 360) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>110</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l110s0'>			pressedNumber=8;</pre></td>
    </tr>
    <tr>
      <td class='line'>111</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l111s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l111s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 175</span> && <span id='l111s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 262</span></pre></td>
    </tr>
    <tr>
      <td class='line'>112</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l112s1' title='Executions: 0' class='uncovered'>applet.mouseY > 321</span> && <span id='l112s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 360) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>113</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l113s0'>			pressedNumber=9;</pre></td>
    </tr>
    <tr>
      <td class='line'>114</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr>
      <td class='line'>115</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		else <span id='l115s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 89</span> && <span id='l115s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 174</span></pre></td>
    </tr>
    <tr>
      <td class='line'>116</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l116s1' title='Executions: 0' class='uncovered'>applet.mouseY > 361</span> && <span id='l116s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 400) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>117</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l117s0'>			pressedNumber=0;</pre></td>
    </tr>
    <tr>
      <td class='line'>118</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr>
      <td class='line'>119</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		else <span id='l119s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 175</span> && <span id='l119s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 262</span></pre></td>
    </tr>
    <tr>
      <td class='line'>120</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l120s1' title='Executions: 0' class='uncovered'>applet.mouseY > 361</span> && <span id='l120s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 400) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>121</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l121s0'>			removeDigit = true;</pre></td>
    </tr>
    <tr>
      <td class='line'>122</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr>
      <td class='line'>123</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		else <span id='l123s1' title='Executions: 0' class='uncovered'>if (applet.mouseX > 180 - 75</span> && <span id='l123s2' title='Executions: 0' class='uncovered'>applet.mouseX &lt; 180 + 75</span></pre></td>
    </tr>
    <tr>
      <td class='line'>124</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>				&& <span id='l124s1' title='Executions: 0' class='uncovered'>applet.mouseY > 5 - 35</span> && <span id='l124s2' title='Executions: 0' class='uncovered'>applet.mouseY &lt; 5 + 35) {</span></pre></td>
    </tr>
    <tr>
      <td class='line'>125</td><td>&nbsp;</td>
      <td><pre class='comment'>			// When Button Add New is pressed</pre></td>
    </tr>
    <tr>
      <td class='line'>126</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l126s0'>			applet.fill(250, 255, 155, 220);</pre></td>
    </tr>
    <tr>
      <td class='line'>127</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l127s0'>			applet.rect(180, 5, 75, 35, 8, 8, 8, 8);</pre></td>
    </tr>
    <tr>
      <td class='line'>128</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l128s0'>			appController.setCurrentScreen(appController.getMyCardsMain());</pre></td>
    </tr>
    <tr>
      <td class='line'>129</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr>
      <td class='line'>130</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>		<span id='l130s0' title='Executions: 0' class='uncovered'>if(addCard.getCardNoLength()&lt; 10)</span></pre></td>
    </tr>
    <tr>
      <td class='line'>131</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		{</pre></td>
    </tr>
    <tr>
      <td class='line'>132</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>			 <span id='l132s0' title='Executions: 0' class='uncovered'>if ( pressedNumber != null)</span> <span id='l132s1' title='Executions: 0' class='uncovered'>{</span></pre></td>
    </tr>
    <tr>
      <td class='line'>133</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l133s0'>					addCard.setCardNumberDigit(pressedNumber);</pre></td>
    </tr>
    <tr>
      <td class='line'>134</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>			 <span id='l134s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l134s1' title='Executions: 0' class='uncovered'>if ( removeDigit)</span> </pre></td>
    </tr>
    <tr>
      <td class='line'>135</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l135s0'>				 addCard.removeCardNumberDigit();</pre></td>
    </tr>
    <tr>
      <td class='line'>136</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			 }</pre></td>
    </tr>
    <tr>
      <td class='line'>137</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l137s0'>		   System.out.println("CardNum:::: length = " + addCard.getCardNoLength() +", CurrentNum = " +pressedNumber +", CardNum = "+ addCard.getCardNumber());</pre></td>
    </tr>
    <tr>
      <td class='line'>138</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		} else {</pre></td>
    </tr>
    <tr>
      <td class='line'>139</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>			 <span id='l139s0' title='Executions: 0' class='uncovered'>if ( pressedNumber != null)</span> <span id='l139s1' title='Executions: 0' class='uncovered'>{</span></pre></td>
    </tr>
    <tr>
      <td class='line'>140</td><td>&nbsp;</td>
      <td><pre class='comment'>				   //String displaypressedNumber="*";</pre></td>
    </tr>
    <tr>
      <td class='line'>141</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l141s0'>					addCard.setCardCodeDigit(pressedNumber);</pre></td>
    </tr>
    <tr>
      <td class='line'>142</td><td class='count'>0</td>
      <td><pre class='prettyprint jmp'>			 <span id='l142s0' title='Executions: 0' class='uncovered'>}</span> else <span id='l142s1' title='Executions: 0' class='uncovered'>if ( removeDigit)</span> </pre></td>
    </tr>
    <tr>
      <td class='line'>143</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l143s0'>				 addCard.removeCardCodeDigit();</pre></td>
    </tr>
    <tr>
      <td class='line'>144</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			 }</pre></td>
    </tr>
    <tr>
      <td class='line'>145</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l145s0'>			 System.out.println("CardCode**** length = " + addCard.getCardCodeLength() +", CurrentNum = " +pressedNumber +", CardCode = "+ addCard.getCardCode());</pre></td>
    </tr>
    <tr>
      <td class='line'>146</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>		}</pre></td>
    </tr>
    <tr>
      <td class='line'>147</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l147s0'>	}</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>149</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	@Override</pre></td>
    </tr>
    <tr>
      <td class='line'>150</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	public void draw(PApplet applet) {</pre></td>
    </tr>
    <tr>
      <td class='line'>151</td><td>&nbsp;</td>
      <td><pre class='comment'>		// TODO Auto-generated method stub</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>153</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			f = applet.loadFont("Calibri-30.vlw");</pre></td>
    </tr>
    <tr>
      <td class='line'>154</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			applet.textFont(f, 20);</pre></td>
    </tr>
    <tr>
      <td class='line'>155</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			applet.fill(0);</pre></td>
    </tr>
    <tr>
      <td class='line'>156</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			String cardNumber = addCard.getCardNumber();</pre></td>
    </tr>
    <tr>
      <td class='line'>157</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			String cardCode = addCard.getCardCode();</pre></td>
    </tr>
    <tr>
      <td class='line'>158</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			if(addCard.getCardNoLength()&lt; 10) {</pre></td>
    </tr>
    <tr>
      <td class='line'>159</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>				applet.text(cardNumber,100,120);</pre></td>
    </tr>
    <tr>
      <td class='line'>160</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			} else {</pre></td>
    </tr>
    <tr>
      <td class='line'>161</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>				applet.text(cardNumber,100,120);</pre></td>
    </tr>
    <tr>
      <td class='line'>162</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>				applet.text(cardCode,125,152);</pre></td>
    </tr>
    <tr>
      <td class='line'>163</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>				cardNumber ="";</pre></td>
    </tr>
    <tr>
      <td class='line'>164</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>				cardCode="";</pre></td>
    </tr>
    <tr>
      <td class='line'>165</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>			}</pre></td>
    </tr>
    <tr>
      <td class='line'>166</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	}</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>168</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	@Override</pre></td>
    </tr>
    <tr>
      <td class='line'>169</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	public void drawArrow(int cx, int cy, int len, float angle, PApplet applet) {</pre></td>
    </tr>
    <tr>
      <td class='line'>170</td><td>&nbsp;</td>
      <td><pre class='comment'>		// TODO Auto-generated method stub</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>172</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>	}</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>174</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>}</pre></td>
    </tr>
  </table>
</body>
</html>
